QTSoundTrack.InsertSoundTrackSegment Method

Adds a segment from another QTSoundTrack to the calling QTSoundTrack. SourcePosition is the starting point (seconds) in SourceTrack of the segment to be inserted; SourceDuration is the length (seconds) of the segment; DestinationPosition is the starting point (seconds) in the calling QTSoundTrack where SourceTrack will be inserted. If CopyMedia is True, the media in SourceTrack will be copied to the destination track; otherwise a reference to SourceTrack will be used. If ShowProgress is True and the operation is lengthy, QuickTime will display a modal dialog box with a progress indicator as the operation proceeds.

Syntax

QTSoundTrack.InsertSoundTrackSegment SourceTrack, SourcePosition, SourceDuration, destinationPosition, copyMedia, ShowProgress


Parameters

SourceTrack

QTSoundTrack

SourcePosition

Double

SourceDuration

Double

destinationPosition

Double

copyMedia

Boolean

ShowProgress

Boolean